package cn.t.enums;

import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author l
 */
@Getter
@AllArgsConstructor
public enum ActionTypeEnum implements CommonEnum<Integer, String> {
    open(0, "开门"),
    create(1, "下单"),
    close(2, "关门");


    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;
}
